package cn.lzt.test

import java.io.{ObjectOutputStream, OutputStream}
import java.net.Socket

object Drive1 {
  def main(args: Array[String]): Unit = {
//    val client = new Socket("localhost",9999)
//    val outputStream : OutputStream= client.getOutputStream
//    val objectOutputStream = new ObjectOutputStream(OutputStream)
//    val task = new Task1()
//    objectOutputStream.writeObject(task)
//    println("数据写入完毕！！")
//    objectOutputStream.close()
//    outputStream.close()
//    client.close()
  }
}
